﻿using System;

namespace ibba.src.norisk.Web
{
    public partial class GarantiaContrato : System.Web.UI.Page
    {
        public string SilverlightInitParams { get; set; }


      
        protected void Page_Load(object sender, EventArgs e)
        {

            if (User != null && User.Identity != null && User.Identity.IsAuthenticated)
                this.SilverlightInitParams = string.Format("User.Identity.Name={0},Server.MachineName={1},IdSistema={2}, XML_Servidores={3}",
                                                     User.Identity.Name, Server.MachineName,
                                                     System.Configuration.ConfigurationManager.AppSettings["IdSistema"],
                                                     System.Configuration.ConfigurationManager.AppSettings["XML_Servidores"]);

        }
    }
}
